package com.bracketbird.client.gui.club.tournament.rtc;


import com.bracketbird.client.model.*;
import com.bracketbird.client.model.tournament.*;

/**
 *
 */
public class TeamFactory {
    private static TeamFactory instance;


    private TeamFactory() {
    }

    public static TeamFactory getInstance() {
        if (instance == null) {
            instance = new TeamFactory();
        }
        return instance;
    }

    public PlayingTeam create(Tournament t){
        PlayingTeam pt = new PlayingTeam();
        pt.setTournamentId(t.getId());
        return pt;
    }
}
